/**
 * 
 */
package valueObjects.game.card.treasure;

import valueObjects.game.card.Card;


/**
 * This card represents a treasurecard obtained by defeating a monster
 * 
 */
public abstract class TreasureCard extends Card {

	private static final long serialVersionUID = 1L;
	private short price;

	/**
	 * Returns the value of the price of the card
	 * @return <code>short</code>the price
	 */
	public short getPrice() {
		return price;
	}

	/**
	 * Sets the price for the card
	 * @param price the price to set
	 */
	public void setPrice(short price) {
		this.price = price;
	}
	
	public String toString() {
		return ("Preis: " + this.price + "");
	}
	
}
